//package name of the demo.
package com.osnyun;

public class OkHttpDemo {

//    public static void main(String[] args) {
//        Request request = new Request();
//        try {
//            request.setKey("");
//            request.setSecret("");
//            request.setMethod("get");
//            request.setUrl("");
//            request.addHeader("Content-Type", "text/plain");
//            request.setBody("demo");
//        } catch (Exception e) {
//            e.printStackTrace();
//            return;
//        }
//        try {
//            //Sign the request.
//            com.osnyun.okhttp3.Request signedRequest = Client.signOkhttp(request);
//
//            System.out.println("signedRequest = " + JSONUtil.toJsonStr(signedRequest.getAuthorizationInfo()));
//
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//    }

}
